package com.itheima.reggie.service;

import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {
    //提交购物车，显示默认地址
    Address addressDefault();
    //添加配送地址
    void addressAdd(Address address);
    //显示全部地址
    List<Address> addressList();
    //设为默认地址
    void update(Address address);
    //修改地址时复显地址
    Address findById(Long id);
    //修改地址
    void updateAddress(Address address);
    //删除地址
    void deleteAddress(Long ids);
}
